<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <ul>
    <li v-for="item in (11-1)/2">{{2*item-2}}{{ 2*item-1 }}</li>
  </ul>
  <ul>
    <li v-for="(item, index) in message">{{index + 1}}.{{item}}</li>
  </ul>
  <!-- 遍历对象如果只是获取一个值，那么获取的是value-->
  <ul>
    <li v-for="(value, key, index) in info">{{value}}</li>
  </ul>
</div>
<script src="../js/vue.js"></script>
<script>
  const app = new Vue({
    el: '#app',
    data: {
      message: ["SSS", "SDS", "DDD", "FFF"],
      info: {
        name: "cdcd",
        age: 15,
        height: 156
      }
    }
  })
</script>
</body>
</html>
